## API Report File for "@backstage/plugin-sonarqube"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
/// <reference types="react" />

import { BackstagePlugin } from '@backstage/core-plugin-api';
import { DiscoveryApi } from '@backstage/core-plugin-api';
import { Entity } from '@backstage/catalog-model';
import { FindingSummary } from '@backstage/plugin-sonarqube-react';
import { IdentityApi } from '@backstage/core-plugin-api';
import { InfoCardVariants } from '@backstage/core-components';
import { JSX as JSX_2 } from 'react';
import { default as React_2 } from 'react';
import { SonarQubeApi } from '@backstage/plugin-sonarqube-react';

// @public (undocumented)
export type DuplicationRating = {
  greaterThan: number;
  rating: '1.0' | '2.0' | '3.0' | '4.0' | '5.0';
};

// @public (undocumented)
export const EntitySonarQubeCard: (props: {
  variant?: InfoCardVariants | undefined;
  duplicationRatings?: DuplicationRating[] | undefined;
}) => JSX_2.Element;

// @public (undocumented)
export const EntitySonarQubeContentPage: (
  props: SonarQubeContentPageProps,
) => JSX_2.Element;

// @public @deprecated (undocumented)
export const isSonarQubeAvailable: (entity: Entity) => boolean;

// @public @deprecated (undocumented)
export const SONARQUBE_PROJECT_KEY_ANNOTATION = 'sonarqube.org/project-key';

// @public (undocumented)
export const SonarQubeCard: (props: {
  variant?: InfoCardVariants;
  duplicationRatings?: DuplicationRating[];
}) => React_2.JSX.Element;

// @public (undocumented)
export class SonarQubeClient implements SonarQubeApi {
  constructor(options: {
    discoveryApi: DiscoveryApi;
    identityApi: IdentityApi;
  });
  // (undocumented)
  discoveryApi: DiscoveryApi;
  // (undocumented)
  getFindingSummary({
    componentKey,
    projectInstance,
  }?: {
    componentKey?: string;
    projectInstance?: string;
  }): Promise<FindingSummary | undefined>;
  // (undocumented)
  identityApi: IdentityApi;
}

// @public (undocumented)
export type SonarQubeContentPageProps = {
  title?: string;
  supportTitle?: string;
};

// @public (undocumented)
export const sonarQubePlugin: BackstagePlugin<{}, {}>;
```
